#include <string.h>
#include <stdio.h>
#include <winsock.h>
#include <conio.h>
#include <iostream>
#include "Misc/Debug.h"
#include <string>

#define DEFAULT_BUFLEN 512
#define DEFAULT_PORT 27015


class tcp_server
{

public:
    tcp_server(int);
    virtual ~tcp_server();
    int start_listening();
	void get_Website(char *url );

protected:
    int port;
    SOCKET sSock; // Server Socket
    SOCKET cSock; // Client Socket

private:
    int acceptConns();

};